<div class="top">
    <div class="header navbar-fixed-top" role="navigation">
        <a class="navbar-brand" href="#">后台管理</a>
        <div class="dropdown text-right">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-user"></span>管理者</a>
            <ul class="dropdown-menu dropdown-menu-right">
                <li><a href="?c=login&a=logout">退出登录</a></li>
            </ul>
        </div>
    </div>
    <nav class="navbar navbar-default" style=" width:100%;min-width: 1265px">
        <div class="container-fluid">
            <ul class="nav navbar-nav">
                <li <?php if ($nav == 'home'){ ?>class="active"<?php } ?>><a href="?a=home"><i class="fa fa-home"></i>首页</a></li>
                <li <?php if ($nav == 'student'){ ?>class="active"<?php } ?>><a href="?c=student"><i class="fa fa-gear"></i>学生信息</a></li>
                <li <?php if ($nav == 'kao'){ ?>class="active"<?php } ?>><a href="?c=student&a=kao"><i class="fa fa-bookmark"></i>考试信息</a></li>
            </ul>
        </div><!-- /.container-fluid -->
    </nav>
</div>